home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
lisp
/
elk-2_0.lha
/
elk-2.0
/
include
/
funcproto.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-10-07
|
616b
|
42 lines
#ifndef FUNCPROTO_H
#define FUNCPROTO_H
#if __STDC__ || defined(__cplusplus)
# undef WANT_PROTOTYPES
#endif
#ifdef WANT_PROTOTYPES
# define DOPROTO
# define ELLIPSIS
#endif
#ifdef __cplusplus
# define DOPROTO
# define ELLIPSIS ...
# define C_LINKAGE_BEGIN extern "C" {
# define C_LINKAGE_END }
#else
# define C_LINKAGE_BEGIN
# define C_LINKAGE_END
#endif
#if __STDC__ && !defined(__cplusplus)
# define DOPROTO
# define ELLIPSIS
#endif
#ifdef NO_PROTOTYPES
# undef DOPROTO
#endif
#ifdef DOPROTO
# define P_(args) args
#else
# define P_(args) ()
# define ELLIPSIS
#endif
#undef DOPROTO
#endif